package ro.pub.cs.hwchecker.comm.client.data;

import java.util.Date;

public class Homework {
	/**
	 * Homework identification used to refer it to the server in further
	 * requests.
	 */
	public String id;
	
	// Homework information
	
	/**
	 * The homework short name, that is displayed in the application menu.
	 */
	public String shortName;
	
	/**
	 * The homework complete name, displayed in the homework tab.
	 */
	public String longName;
	
	/**
	 * Additional homework description, displayed in the homework tab.
	 */
	public String description;
	
	/**
	 * Homework due date.
	 */
	public Date dueDate;
	
	// General evaluation information
	/**
	 * Maximum score that can be obtained on this homework.
	 */
	public int maxGrade;
	
	/**
	 * The number of test cases this homework employs. If this is 0,
	 * the evaluation is not test-based.
	 */
	public int testCount;
	
	public Homework() {
		shortName = "";
		longName = "";
		description = "";
	}
}
